<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>添加书籍</title>
        <link rel="stylesheet" href="../../layui/css/layui.css">
        <script src="../../layui/layui.js"></script>
    </head>
    <body>
        <div class="layui-container" style="margin-top: 50px ">
            <h2 style="text-align: center;margin-bottom: 20px">添加书籍</h2>
            <form class="layui-form" action="/book/addBook" method="post">
                <div class="layui-form-item">
                    <label class="layui-form-label">书籍名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="bookName" required  lay-verify="required" placeholder="请输入书籍名称" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">书籍类别</label>
                    <div class="layui-input-block">
                        <input type="text" name="bookCategory" required  lay-verify="required" placeholder="请输入书籍类别" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">书籍总数</label>
                    <div class="layui-input-block">
                        <input type="text" name="bookCounts" required  lay-verify="required" placeholder="请输入书籍总数" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">详情</label>
                    <div class="layui-input-block">
                        <input type="text" name="detail" required  lay-verify="required" placeholder="请输入详情" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </body>
</html>